package com.dstation.service.interf;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dstation.domain.*;

import java.sql.Timestamp;
import java.util.List;

public interface IRecommendService {

    boolean addBrowserData();

    boolean addCollectData();

    boolean addLikedData();

    boolean addCoinData();

    boolean dropAllRecommendData();

    List<RecommendInfo> findAllRecommend();

    List<VideoInfo> findAllVideo();

    void simlarRecForUserRandom(MqMessage message, int browserClick);

    IPage<VideoInfo> findRecommendVideo(UserInfo userInfo, Page page);

    List<HistoryInfo> findHotBrowser(Timestamp deadLine);

    List<VideoLikedInfo> findHotLiked(Timestamp deadLine);

    List<CollectionInfo> findHotCollection(Timestamp deadLine);

    List<CoinOperatedInfo> findHotCoin(Timestamp deadLine);
}
